object Versions {

    val appcompat = "1.1.0"
    val legacy_support = "1.0.0"
    val core_ktx = "1.0.2"

    val retrofit = "2.9.0"
    val okhttpLogging = "3.9.0"
    val coreKtx = "1.3.0"
    val constraintlayout = "2.0.1"
    val kotlin = "1.3.72"
    val cardview = "1.0.0"
    val recyclerview = "1.0.0"
    val swiperefreshlayout = "1.0.0"
    val junit = "4.12"
    val junitExt = "1.1.1"
    val espressoCore = "3.2.0"
    val runtime = "0.12.0"
    val material = "1.2.0"
}

object AndroidX {
    val appcompat = "androidx.appcompat:appcompat:${Versions.appcompat}"
    val coreKtx = "androidx.core:core-ktx:${Versions.coreKtx}"
    val constraintlayout =
        "androidx.constraintlayout:constraintlayout:${Versions.constraintlayout}"
    val cardview = "androidx.cardview:cardview:${Versions.cardview}"
    val recyclerview = "androidx.recyclerview:recyclerview:${Versions.recyclerview}"
    val swiperefreshlayout =
        "androidx.swiperefreshlayout:swiperefreshlayout:${Versions.swiperefreshlayout}"

    val livedata = "androidx.lifecycle:lifecycle-livedata-ktx:2.2.0"
    val viewModel = "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
    val lifecycleExtensions = "androidx.lifecycle:lifecycle-extensions:2.2.0"
    val coroutinesCore = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.7"
    val coroutinesAndroid = "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.7"
}

object Android {
    val meteria = "com.google.android.material:material:${Versions.material}"
}

object Coil {
    val runtime = "io.coil-kt:coil:${Versions.runtime}"
}

object Kt {
    val stdlibJdk7 = "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${Versions.kotlin}"
    val stdlibJdk8 = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:${Versions.kotlin}"
    val test = "org.jetbrains.kotlin:kotlin-test-junit:${Versions.kotlin}"
    val plugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:${Versions.kotlin}"
}

object Retrofit {
    val runtime = "com.squareup.retrofit2:retrofit:${Versions.retrofit}"
    val gson = "com.squareup.retrofit2:converter-gson:${Versions.retrofit}"
    val mock = "com.squareup.retrofit2:retrofit-mock:${Versions.retrofit}"
    val logging = "com.squareup.okhttp3:logging-interceptor:${Versions.okhttpLogging}"
    val cookieJar = "com.github.franmontiel:PersistentCookieJar:v1.0.1"
}

object Depend {
    val junit = "junit:junit:${Versions.junit}"
    val androidTestJunit = "androidx.test.ext:junit:${Versions.junitExt}"
    val espressoCore = "androidx.test.espresso:espresso-core:${Versions.espressoCore}"
}


object ThirdPart {
    val AliyunPlayer = "com.aliyun.sdk.android:AliyunPlayer:4.5.0-full"
    val AlivcConan = "com.alivc.conan:AlivcConan:0.9.5"

    val agentweb = "com.just.agentweb:agentweb:4.1.3"
    val agentwebFileChooser = "com.just.agentweb:filechooser:4.1.3"
    val agentwebDown = "com.download.library:Downloader:4.1.3"

    // 基础依赖包，必须要依赖
    val immersionbar = "com.gyf.immersionbar:immersionbar:3.0.0"
    // fragment快速实现（可选）
    val immersionbarComponents = "com.gyf.immersionbar:immersionbar-components:3.0.0"
    // kotlin扩展（可选）
    val immersionbarKtx = "com.gyf.immersionbar:immersionbar-ktx:3.0.0"

    val BRVAH = "com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.4"
}


